package com.tjc.deploy01.controll;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("hello")
public class HelloController {
    @GetMapping("test1")
    public String test1() {
        return "hello,test1";
    }
    @GetMapping("test2")
    public String test2() {
        return "hello,test2";
    }
}
